package com.xuecheng.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Keson
 * @version 1.0
 * @description: 用户信息
 * @date 2022/7/14 16:06
 */
@Getter
@Setter
@TableName("tb_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String phone;

    private String password;

    private String name;

    private Long companyId;

    private String companyName;

    private String userpic;

    private String utype;

    private Date birthday;

    private String sex;

    /**
     * 用户状态
     */
    private Integer status;

    /**
     * 个人简介
     */
    private String intro;

    private Date createDate;
}